<template>
  <div class="home">
    <div class="container">
      <h1 class="title">米修在线</h1>
      <p class="lead">专注于线上教育，用心做课程，用心做服务</p>
    </div>
  </div>
</template>

<style scoped>
.home {
  /* float: left; */
  /* margin-top: 100px; */
  width: 100%;
  height: 100%;
  background: url(../assets/showcase.jpg) no-repeat;
  background-size: 100% 100%;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-top: 530px;
  /* background-color: rgba(0, 0, 0, 0.7); */
  text-align: center;
  color: #fff;
}

.title {
  position: absolute;
  top: 103px;
  left: 539px;
  font-size: 30px;
}

.lead {
  position: absolute;
  top: 190px;
  left: 406px;
  /* margin-top: 50px; */
  font-size: 22px;
}
</style>